package com.seu.data.structures.stacksAndQueues.a;

/**
 * 栈(后进先出)
 *
 * @author liangfeihu
 * @since 2018/12/01 10:47
 */
public interface Stack<E> {

    int getSize();

    boolean isEmpty();

    void push(E e);

    E pop();

    E peek();
}
